package com.hk.service;

import java.util.List;

import com.hk.commons.HqlFilter;
import com.hk.commons.SqlFilter;
import com.hk.commons.entity.Fundnavhistory;

/**
 * 
<p>Title:IFundnavHistory </p>
<p>Description: </p>
<p>Company:HK </p> 
@author Sam
@date 2016年2月17日上午11:04:35
 */
public interface IFundnavHistory {

	public Fundnavhistory findById(Integer id);

	/**
	 * 保存
	 * 
	 * @param b
	 * @return
	 */
	public Integer add(Fundnavhistory u);

	/**
	 * 删除
	 * 
	 * @param id
	 * @return
	 */
	public void delete(Fundnavhistory u);

	/**
	 * 更新
	 * 
	 * @param b
	 */
	public void update(Fundnavhistory u);

	public List<Fundnavhistory> findByFilter(HqlFilter hqlFilter, int pageNum,
			int pageSize);

	public List<Fundnavhistory> findByFilter(HqlFilter hqlFilter);

	public Long countByFilter(HqlFilter hqlFilter);
	
	public List executeListHql(String hql);
	
	public void merge(Fundnavhistory fundnavhist);
	
	/**
	 *  批量更新接口
	 * @param list
	 */
	public void updateBatch(List<Fundnavhistory> list);
}
